Optimal. Leaf size=45 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 \sqrt {a} b^{3/2}}-\frac {x}{2 b \left (a+b x^2\right )} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {28, 288, 205} \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 \sqrt {a} b^{3/2}}-\frac {x}{2 b \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 205
Rule 288
Rubi steps
\begin {align*} \int \frac {x^2}{a^2+2 a b x^2+b^2 x^4} \, dx &=b^2 \int \frac {x^2}{\left (a b+b^2 x^2\right )^2} \, dx\\ &=-\frac {x}{2 b \left (a+b x^2\right )}+\frac {1}{2} \int \frac {1}{a b+b^2 x^2} \, dx\\ &=-\frac {x}{2 b \left (a+b x^2\right )}+\frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 \sqrt {a} b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 45, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 \sqrt {a} b^{3/2}}-\frac {x}{2 b \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^2}{a^2+2 a b x^2+b^2 x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.82, size = 120, normalized size = 2.67 \begin {gather*} \left [-\frac {2 \, a b x + {\left (b x^{2} + a\right )} \sqrt {-a b} \log \left (\frac {b x^{2} - 2 \, \sqrt {-a b} x - a}{b x^{2} + a}\right )}{4 \, {\left (a b^{3} x^{2} + a^{2} b^{2}\right )}}, -\frac {a b x - {\left (b x^{2} + a\right )} \sqrt {a b} \arctan \left (\frac {\sqrt {a b} x}{a}\right )}{2 \, {\left (a b^{3} x^{2} + a^{2} b^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 35, normalized size = 0.78 \begin {gather*} \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} b} - \frac {x}{2 \, {\left (b x^{2} + a\right )} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 36, normalized size = 0.80 \begin {gather*} -\frac {x}{2 \left (b \,x^{2}+a \right ) b}+\frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \sqrt {a b}\, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.00, size = 36, normalized size = 0.80 \begin {gather*} -\frac {x}{2 \, {\left (b^{2} x^{2} + a b\right )}} + \frac {\arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 33, normalized size = 0.73 \begin {gather*} \frac {\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{2\,\sqrt {a}\,b^{3/2}}-\frac {x}{2\,b\,\left (b\,x^2+a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.22, size = 78, normalized size = 1.73 \begin {gather*} - \frac {x}{2 a b + 2 b^{2} x^{2}} - \frac {\sqrt {- \frac {1}{a b^{3}}} \log {\left (- a b \sqrt {- \frac {1}{a b^{3}}} + x \right )}}{4} + \frac {\sqrt {- \frac {1}{a b^{3}}} \log {\left (a b \sqrt {- \frac {1}{a b^{3}}} + x \right )}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________